import Vue from "vue";
import VueRouter from "vue-router";
import ShouYe from '../views/ShouYe.vue';
import Csm from '../views/Csm.vue';
import GouWu from '../views/GouWu.vue';
import DengLu from '../views/DengLu.vue';
Vue.use(VueRouter);
export default new VueRouter({
    mode:'history',
    routes:[
        {
            path:'/shouye',
            name:'shouye',
            component:ShouYe
        },
        {
            path:'/csm',
            name:'csm',
            component:Csm
        },
        {
            path:'/gouwu',
            name:'gouwu',
            component:GouWu
        },
        {
            path:'/denglu',
            name:'denglu',
            component:DengLu
        },
        {
            path:'/',
            redirect:{
                path:'/shouye'
            }
        }
    ]
})